Faster Approximate Distance Queries and Compact Routing in Sparse Graphs
نویسندگان
چکیده
A distance oracle is a compact representation of the shortest distance matrix of a graph. It can be queried to retrieve approximate distances and corresponding paths between any pair of vertices. A lower bound, due to Thorup and Zwick, shows that a distance oracle that returns paths of worst-case stretch (2k − 1) must require space Ω(n) for graphs over n nodes. The hard cases that enforce this lower bound are, however, rather dense graphs with average degree Ω(n). We present distance oracles that, for sparse graphs, substantially break the lower bound barrier at the expense of higher query time. For any 1 ≤ α ≤ n, our distance oracles can return stretch 2 paths using O(m + n/α) space and stretch 3 paths using O(m + n/α) space, at the expense of O(αm/n) query time. By setting appropriate values of α, we get the first distance oracles that have size linear in the size of the graph, and return constant stretch paths in non-trivial query time. The query time can be further reduced to O(α), by using an additional O(mα) space for all our distance oracles, or at the cost of a small constant additive stretch. We use our stretch 2 distance oracle to design a compact routing scheme that requires Õ(n)memory at each node and, after a handshaking phase, routes along paths with worst-case stretch 2. Moreover, supported by large-scale simulations on graphs including the AS-level Internet graph, we argue that our stretch-2 scheme would be simple and efficient to implement as a distributed compact routing protocol. ∗An earlier version of this paper appeared in INFOCOM 2011 [1]. The extended version presents results that improve upon the results presented in the conference version; significantly more simplified presentation and proofs for the results in the conference version; and in addition, distance oracles for unweighted graphs. University of Illinois, Urbana, IL 61801. Email: [email protected]. University of Illinois, Urbana, IL 61801. Email: [email protected]. University of Illinois, Urbana, IL 61801. Email: [email protected].
منابع مشابه
Tree-decompositions with bags of small diameter
This paper deals with the length of a Robertson–Seymour’s tree-decomposition. The tree-length of a graph is the largest distance between two vertices of a bag of a tree-decomposition, minimized over all tree-decompositions of the graph. The study of this invariant may be interesting in its own right because the class of bounded tree-length graphs includes (but is not reduced to) bounded chordal...
متن کاملDistance Oracles for Sparse Graphs
Suppose you are given a large network, such as the Internet or the US road network. In many practical applications, one might be interested in querying shortest path distances between pairs of nodes of the network. However, attempting to implement a data structure that supports such operations will result either in a large query time, or large space requirement, both of which are undesirable. I...
متن کاملMore Compact Oracles for Approximate Distances in Undirected Planar Graphs
Distance oracles are data structures that provide fast (possibly approximate) answers to shortest-path and distance queries in graphs. The tradeoff between the space requirements and the query time of distance oracles is of particular interest and the main focus of this paper. Unless stated otherwise, we assume all graphs to be planar and undirected. In FOCS 2001 (J. ACM 2004), Thorup introduce...
متن کاملApproximate Distance Queries in Disk Graphs
We present efficient algorithms for approximately answering distance queries in disk graphs. Let G be a disk graph with n vertices and m edges. For any fixed ǫ > 0, we show that G can be preprocessed in O(m √ nǫ + mǫ log S) time, constructing a data structure of size O(nǫ + nǫ log S), such that any subsequent distance query can be answered approximately in O( √ nǫ + ǫ log S) time. Here S is the...
متن کاملCompact Routing in Power-Law Graphs
We adapt the compact routing scheme by Thorup and Zwick to optimize it for power-law graphs. We analyze our adapted routing scheme based on the theory of unweighted random power-law graphs with fixed expected degree sequence by Aiello, Chung, and Lu. Our result is the first theoretical bound coupled to the parameter of the power-law graph model for a compact routing scheme. In particular, we pr...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- CoRR
دوره abs/1201.2703 شماره
صفحات -
تاریخ انتشار 2011